package com.example.demo.RedisTest.RedisOne;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Redis测试
 * @author FF998
 */
@RestController
@RequestMapping("/RedisTest")
public class RedisOneController {

    @Autowired
    RedisOneService redisOneService;

    @GetMapping("/save")
    public void redisTestSave(){
        redisOneService.redisTestSave();
    }

}
